const tabbar = {
	state: {
		// 自定义tabbar列表
		tabbarList: [{
				title: '首页',
				icon: '',
				up_icon: '',
				image: '/static/image/tabbar/index.png',
				up_image: '/static/image/tabbar/index1.png',
				text:'',
				url:'/pages/home/home'
			},
			{
				title: '订单',
				icon: '',
				up_icon: '',
				image: '/static/image/tabbar/live.png',
				up_image: '/static/image/tabbar/live1.png',
				text:'',
				url:'/pages/index/index'
			},
			{
				title: '首页',
				icon: '',
				up_icon: '',
				image: '/static/image/tabbar/category.png',
				up_image: '/static/image/tabbar/category1.png',
				text:'',
				url:'/pages/login/login'
			},
			{
				title: '资讯',
				icon: '',
				up_icon: '',
				image: '/static/image/tabbar/cart.png',
				up_image: '/static/image/tabbar/cart1.png',
				text:'',
				url:'/pages/cart/cart'
			},
			{
				title: '我的',
				icon: '',
				up_icon: '',
				image: '/static/image/tabbar/my.png',
				up_image: '/static/image/tabbar/my1.png',
				text:'',
				url:'/pages/my/my'
			},
		],
		// 是否自定义tabbar
		isTabbar: false,
		// 选中的tabbar
		selected:0
	},
	mutations: {
		openTabbar(state){
			state.isTabbar = true
			uni.hideTabBar()
		}
	},
	actions: {

	},
	getters: {
		
	}
}

export default tabbar
